class CreateSolutions < ActiveRecord::Migration
  def self.up
    create_table :solutions do |t|
      t.column "title",:string
      t.column "sortid",:int,:default => 0
      t.column "createDate",:datetime,:default => Time.now
      t.column "status",:int,:default => 1
    end
  end

  def self.down
    drop_table :solutions
  end
end
